#! /usr/bin/python3

class Complex:
    def __init__(self, realpart, imagepart):
        self.r = realpart
        self.i = imagepart
x = Complex(3.0, -4.5)
if x.i < 0:
    print("{0}{1}j".format(x.r, x.i))
else:
    print("{0}+{1}j".format(x.r, x.i))
